package net.wanho.customerManage.dao;

import net.wanho.commons.exception.DaoException;
import net.wanho.customerManage.po.Customer;
import net.wanho.customerManage.po.LinkMan;
import net.wanho.customerManage.query.CustomerQuery;
import net.wanho.customerManage.vo.CustomerVo;

import java.util.List;

public interface CustomerDao {
    List<CustomerVo> selectAllCustomer() throws DaoException ;
    List<CustomerVo> selectByCondCustomer(CustomerQuery customerQuery) throws DaoException ;
    CustomerVo selectByIdCustomer(Integer customerId) throws DaoException ;
    Integer insertCustomer(Customer customer) throws DaoException ;
}
